package com.yitongmao.bean;

import java.util.List;

/*
* 作者：梁伟航 on 2017/8/10 17:35
* 类的用途：
*/
public class OrderDetailsBean {


    /**
     * result : {"state":"1","code":"SUCCESS","url":null,"obj":null,"isRollBack":null,"message":"查询成功!"}
     * dateilMap : [{"id":181,"orderCode":"20171819930007","codePre":"2017","codeSuf":"9930007","transactionId":0,"userId":7,"supplier":0,"addressId":0,"type":null,"orderTyp":"goods","state":"05","totalPrice":16800,"reservePrice":null,"finalPrice":null,"transitPrice":null,"realPrice":16800,"leaveMessage":null,"isAdvanceState":null,"remittanceCode":"0ZzUDfYF","remark":null,"stateName":"已取消","closingTime":null,"payTime":null,"createTime":"2017-08-10 16:26:36","tag":null,"isRefund":null,"refundId":0,"deliveryTime":null,"expectDeliveryTime":"2017-08-17 00:00:00","dispatching":null,"version":0,"payMode":"TRANSFER","payType":"全款","invoiceType":"00","refundState":"00","orderGoods":[],"orderGood":[{"followId":0,"goodsId":15,"title":"【越南】红心火龙果 (中箱/大果)","goodsThumb":"https://img14.360buyimg.com/n0/jfs/t3118/197/229364904/200600/37296076/57ab28ceNf76fe40f.jpg","tradePrice":2800,"number":6,"state":null}],"invoice":null,"address":{"id":178,"userId":0,"provinceId":0,"cityId":0,"countryId":0,"name":"hgbkk","phone":"15231355132","address":"hdhdbdjdjdhdbdjjx","status":null,"provinceName":"北京","cityName":"北京市","countryName":"西城区"},"account":{"id":1,"companyName":"北京亿通贸有限公司","account":"111122220000111","phone":null,"bank":null,"openingBank":"农业银行股份有限公司北京XXX支行","unionLine":"111100008888","payInstruction":"订单支付时间为六个小时，期间没有支付，将自动关闭交易。","remittanceDesc":"汇付识别码已发送手机#phone#须填写电汇凭证至【汇款用途】","operatingPhone":"18519128255"}}]
     */

    public ResultBean result;
    public List<DateilMapBean> dateilMap;

    public static class ResultBean {
        /**
         * state : 1
         * code : SUCCESS
         * url : null
         * obj : null
         * isRollBack : null
         * message : 查询成功!
         */

        public String state;
        public String code;
        public Object url;
        public Object obj;
        public Object isRollBack;
        public String message;
    }

    public static class DateilMapBean {
        /**
         * id : 181
         * orderCode : 20171819930007
         * codePre : 2017
         * codeSuf : 9930007
         * transactionId : 0
         * userId : 7
         * supplier : 0
         * addressId : 0
         * type : null
         * orderTyp : goods
         * state : 05
         * totalPrice : 16800.0
         * reservePrice : null
         * finalPrice : null
         * transitPrice : null
         * realPrice : 16800.0
         * leaveMessage : null
         * isAdvanceState : null
         * remittanceCode : 0ZzUDfYF
         * remark : null
         * stateName : 已取消
         * closingTime : null
         * payTime : null
         * createTime : 2017-08-10 16:26:36
         * tag : null
         * isRefund : null
         * refundId : 0
         * deliveryTime : null
         * expectDeliveryTime : 2017-08-17 00:00:00
         * dispatching : null
         * version : 0
         * payMode : TRANSFER
         * payType : 全款
         * invoiceType : 00
         * refundState : 00
         * orderGoods : []
         * orderGood : [{"followId":0,"goodsId":15,"title":"【越南】红心火龙果 (中箱/大果)","goodsThumb":"https://img14.360buyimg.com/n0/jfs/t3118/197/229364904/200600/37296076/57ab28ceNf76fe40f.jpg","tradePrice":2800,"number":6,"state":null}]
         * invoice : null
         * address : {"id":178,"userId":0,"provinceId":0,"cityId":0,"countryId":0,"name":"hgbkk","phone":"15231355132","address":"hdhdbdjdjdhdbdjjx","status":null,"provinceName":"北京","cityName":"北京市","countryName":"西城区"}
         * account : {"id":1,"companyName":"北京亿通贸有限公司","account":"111122220000111","phone":null,"bank":null,"openingBank":"农业银行股份有限公司北京XXX支行","unionLine":"111100008888","payInstruction":"订单支付时间为六个小时，期间没有支付，将自动关闭交易。","remittanceDesc":"汇付识别码已发送手机#phone#须填写电汇凭证至【汇款用途】","operatingPhone":"18519128255"}
         */

        public int id;
        public String orderCode;
        public String codePre;
        public String codeSuf;
        public int transactionId;
        public int userId;
        public int supplier;
        public int addressId;
        public Object type;
        public String orderTyp;
        public String state;
        public double totalPrice;
        public Object reservePrice;
        public Object finalPrice;
        public Object transitPrice;
        public double realPrice;
        public Object leaveMessage;
        public Object isAdvanceState;
        public String remittanceCode;
        public Object remark;
        public String stateName;
        public Object closingTime;
        public Object payTime;
        public String createTime;
        public Object tag;
        public Object isRefund;
        public int refundId;
        public Object deliveryTime;
        public String expectDeliveryTime;
        public Object dispatching;
        public int version;
        public String payMode;
        public String payType;
        public String invoiceType;
        public String refundState;
        public Object invoice;
        public AddressBean address;
        public AccountBean account;
        public List<?> orderGoods;
        public List<OrderGoodBean> orderGood;

        public static class AddressBean {
            /**
             * id : 178
             * userId : 0
             * provinceId : 0
             * cityId : 0
             * countryId : 0
             * name : hgbkk
             * phone : 15231355132
             * address : hdhdbdjdjdhdbdjjx
             * status : null
             * provinceName : 北京
             * cityName : 北京市
             * countryName : 西城区
             */

            public int id;
            public int userId;
            public int provinceId;
            public int cityId;
            public int countryId;
            public String name;
            public String phone;
            public String address;
            public Object status;
            public String provinceName;
            public String cityName;
            public String countryName;
        }

        public static class AccountBean {
            /**
             * id : 1
             * companyName : 北京亿通贸有限公司
             * account : 111122220000111
             * phone : null
             * bank : null
             * openingBank : 农业银行股份有限公司北京XXX支行
             * unionLine : 111100008888
             * payInstruction : 订单支付时间为六个小时，期间没有支付，将自动关闭交易。
             * remittanceDesc : 汇付识别码已发送手机#phone#须填写电汇凭证至【汇款用途】
             * operatingPhone : 18519128255
             */

            public int id;
            public String companyName;
            public String account;
            public Object phone;
            public Object bank;
            public String openingBank;
            public String unionLine;
            public String payInstruction;
            public String remittanceDesc;
            public String operatingPhone;
        }

        public static class OrderGoodBean {
            /**
             * followId : 0
             * goodsId : 15
             * title : 【越南】红心火龙果 (中箱/大果)
             * goodsThumb : https://img14.360buyimg.com/n0/jfs/t3118/197/229364904/200600/37296076/57ab28ceNf76fe40f.jpg
             * tradePrice : 2800.0
             * number : 6
             * state : null
             */

            public int followId;
            public int goodsId;
            public String title;
            public String goodsThumb;
            public double tradePrice;
            public int number;
            public Object state;
        }
    }
}
